package com.lmy.demo0.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author mingzi
 * @since 2022-08-15
 */
@Getter
@Setter
  @ApiModel(value = "Goods对象", description = "")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("物资编号")
      @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

      @ApiModelProperty("物资名称")
      private String name;

      @ApiModelProperty("物资单价")
      private Double prices;

      @ApiModelProperty("物资已经使用数量")
      private Integer uses;

      @ApiModelProperty("物资数量")
      private Integer nums;


}
